home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
unix
/
src
/
sleep.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-07-19
|
241 b
|
14 lines
#include "amiga.h"
#include "timers.h"
#include "signals.h"
int sleep(unsigned seconds)
{
chkabort();
_timer_start(_odd_timer, seconds, 0);
while (!_timer_expired(_odd_timer)) _handle_signals(_wait_signals(_odd_sig));
return 0;
}